//
//  HJEnumHeader.h
//  KaiChat
//
//  Created by lx on 2023/10/16.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN


typedef NS_OPTIONS(NSInteger, HJLoadType) {
    HJLoadTypeCache = 1 << 0,
    HJLoadTypeNetwork = 1 << 1,
};
 

typedef NS_ENUM(NSInteger, HJWebSocketConnectState) {
    HJWebSocketConnectStateConnecting,
    HJWebSocketConnectStateSucceed,
    HJWebSocketConnectStateFail,
};

typedef NS_ENUM(NSInteger, HJMessageType) {
    HJMessageTypeText = 1,
    HJMessageTypeImage = 2,
    HJMessageTypeVoice = 3,
    HJMessageTypeVideo = 4,
    HJMessageTypeSystem = 5,
    HJMessageTypeOtherSystem = 50,
    HJMessageTypeOther,
};

typedef NS_ENUM(NSInteger, HJMessageStatus) {
    HJMessageStatusNone,
    HJMessageStatusSucceed,
    HJMessageStatusSending,
    HJMessageStatusFail,
};

typedef NS_ENUM(NSInteger, HJSelectFileType) {
    HJSelectFileTypePhoto = 1,
    HJSelectFileTypeDocument,
    HJSelectFileTypeCamera,
};

typedef NS_ENUM(NSInteger, HJFileType) {
    HJFileTypeImage = 1,
    HJFileTypeVideo,
    HJFileTypeVoice,
    HJFileTypeWord,
    HJFileTypeOther,
};

typedef NS_ENUM(NSInteger, HJChatType) {
    HJChatTypeSingle = 1000,
    HJChatTypeGroup = 2000,
    HJChatTypeSystem = 3000,
};

 
NS_ASSUME_NONNULL_END
